package com.iv.durian.cloud.service;

import com.iv.durian.cloud.StudentLession;
import com.iv.durian.cloud.dao.StudentLessonDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentLessonService {

    @Autowired
    private StudentLessonDao studentLessonDao;

    public StudentLession get(Integer id){ return studentLessonDao.get(id); }

    public int add(StudentLession studentLession){ return studentLessonDao.add(studentLession); }

    public int updateStatust(StudentLession studentLession){ return studentLessonDao.updateStatust(studentLession); }

    public int update(StudentLession studentLession){ return studentLessonDao.update(studentLession); }

    public int remove(Integer id){ return studentLessonDao.remove(id); }
}
